<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--[if lt IE 7 ]> <html class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]>    <html class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]>    <html class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]>    <html class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
	<title>体检预约服务平台 - 医通在线</title>
	<link href="templates/css/global.css" rel="stylesheet" type="text/css" />
	<link href="templates/css/agency.css" rel="stylesheet" type="text/css" />
    <script src="templates/js/form.js" type="text/javascript"></script>
    <script src="templates/js/common.js" type="text/javascript"></script>

	<meta content="" name="Keywords">
	<meta name="description" content="" />
	<!--[if IE 6]>
	<script src="js/ddpng.js" type="text/javascript"></script>
	<script type="text/javascript">DD_belatedPNG.fix('.ddpng');</script>
    <![endif]--></head>
<body>

<!--header st-->
<{include file="../templates/$newtpl/header.html"}>

<div class="row bread_crumbs mb10"><a href="<{$__URL__}>myreservation" title="首页">首页</a>&gt;<a href="<{$__URL__}>myorder" title="订单管理">订单管理</a>&gt;<strong>订单：<{$contents.order_id}></strong></div>

<div class="row mb10 center_layout fix">
	<div class="detail_tab mb10">
		<ul class="fix">
			<li><a class="current" href="<{$__URL__}>orderinfo&orderid=<{$contents.order_id}>">订单信息</a></li>
			<{if $appendinfo.append_id <>''}>
			<li><a href="<{$__URL__}>appendinfo&id=<{$appendinfo.append_id}>">预约详情</a></li>
            <{/if}>
			<li>
            <{if $contents.source == 3}>
                <a href="<{$__URL__}>kouqiang" target="_blank">套餐详情</a>
            <{else}>
                <{if $pCode}>
               <a href="<{$__URL__}>product&code=<{$pCode}>">套餐详情</a>
               <{/if}>
            <{/if}>
            </li>
			<!--<li><a href="<{$__URL__}>store_append&id=<{$appendinfo.append_id}>&orderid=<{$contents.order_id}>&code=<{$appendinfo.append_productid}>">适用门店</a></li>-->

		</ul>
	</div>
	<div class="order_detail">
		<div class="top mb20">
			<span>订单编号：<{$contents.order_id}></span>
			<span>订单状态：
            <{if $contents.source == 3}>
                <{if $contents.status == 1}><em>未支付</em><{/if}>
                <{if $contents.status == 2}><em>已支付，等待发货</em><{/if}>
                <{if $contents.status == 3}><em>已支付，等待发货</em><{/if}>
                <{if $contents.status == 4}><em>已经完成</em><{/if}>
                <{if $contents.status == 5}><em>已退款</em><{/if}>
                <{if $contents.status == 6}><em>已关闭</em><{/if}>
                <{if $contents.status == 7}><em>已发货，等待收货</em><{/if}>
            <{else}>
                <{if $contents.status == 1}><em>未支付</em><{/if}>
                <{if $contents.status == 2}><em>已支付，未预约</em><{/if}>
                <{if $contents.status == 3}><em>已预约</em><{/if}>
                <{if $contents.status == 4}><em>已经完成</em><{/if}>
                <{if $contents.status == 5}><em>已退款</em><{/if}>
                <{if $contents.status == 6}><em>已关闭</em><{/if}>
            <{/if}>


			</span>
			<span>
			<{if $contents.status == 1}><a href="<{$payment_code}>" title="立即支付" class="btn" target="_blank">立即支付</a><{/if}>
			<{if $contents.status == 2}>
			<{if $contents.source ==1 && $contents.guoqi == 0}>
				<{if $user_lizhi == 2 && $contents.source == 1}>已离职
				<{else}>
					<a href="<{$__URL__}>reservation_1&orderid=<{$contents.order_id}>" title="立即预约" class="btn">立即预约</a>
				<{/if}>
			<{/if}>

			<{if $contents.source ==2 && $contents.guoqi == 0}>
				<{if $user_lizhi == 2 && $contents.source == 1}>已离职
				<{else}>
					<a href="<{$__URL__}>family_1&orderid=<{$contents.order_id}>" title="立即预约" class="btn">立即预约</a>
				<{/if}>
			<{/if}>

			<{/if}>
			<{if $contents.status == 2 || $contents.status == 3}>
                <{if $contents.source != 3}>
                	<{if $userinfo.user_enterprise_code!='ET20150529052158'}>
						<em>员工升级套餐或家属套餐如需退款，请致电全国客服热线400-820-6772-1-3</em>
					<{/if}>
                <{/if}>
			<{/if}>
           </span>
			<!--<span class="fr"><a href="javascript:window.print() ;" title="打印" class="btn_gray">打印</a></span>-->
		</div>
		<div class="detail_step mb20">
        <{if $contents.source == 3}>
            <{if $contents.status == 1}>
            <img src="templates/images/step_4_1.png" />
			<ul class="fix step_6">
				<li class="current">订单支付</li>
				<li>完成支付</li>
				<li>待发货</li>
				<li>完成收货</li>
			</ul>
			<{/if}>

			<{if $contents.status == 2}>
            <img src="templates/images/step_4_2.png" />
			<ul class="fix step_6">
				<li class="current">订单支付</li>
				<li class="current">完成支付</li>
				<li>待发货</li>
				<li>完成收货</li>
			</ul>
			<{/if}>

            <{if $contents.status == 3 || $contents.status == 7}>
            <img src="templates/images/step_4_3.png" />
			<ul class="fix step_6">
				<li class="current">订单支付</li>
				<li class="current">完成支付</li>
				<li class="current">待发货</li>
				<li>完成收货</li>
			</ul>
			<{/if}>

           <{if $contents.status == 4}>
            <img src="templates/images/step_4_4.png" />
			<ul class="fix step_6">
				<li class="current">订单支付</li>
				<li class="current">完成支付</li>
				<li class="current">待发货</li>
				<li class="current">完成收货</li>
			</ul>
			<{/if}>
        <{else}>
            <{if $contents.status == 1}>
            <img src="templates/images/step_4_1.png" />
			<ul class="fix step_6">
				<li class="current">订单支付</li>
				<li>订单确认</li>
				<li>预约成功</li>
				<li>完成服务</li>
			</ul>
			<{/if}>

			<{if $contents.status == 2}>
            <img src="templates/images/step_4_2.png" />
			<ul class="fix step_6">
				<li class="current">订单支付</li>
				<li class="current">订单确认</li>
				<li>预约成功</li>
				<li>完成服务</li>
			</ul>
			<{/if}>

            <{if $contents.status == 3}>
            <img src="templates/images/step_4_3.png" />
			<ul class="fix step_6">
				<li class="current">订单支付</li>
				<li class="current">订单确认</li>
				<li class="current">预约成功</li>
				<li>完成服务</li>
			</ul>
			<{/if}>

           <{if $contents.status == 4}>
            <img src="templates/images/step_4_4.png" />
			<ul class="fix step_6">
				<li class="current">订单支付</li>
				<li class="current">订单确认</li>
				<li class="current">预约成功</li>
				<li class="current">完成服务</li>
			</ul>
			<{/if}>
        <{/if}>



		</div>
		<!--<div style="color:#FF0000;font-weight:800;font-size:14px;margin-bottom:5px;">体检当天请务必带好您预约时所留下来的身份确认证件</div>-->
		<div class="top_info mb10">
             <{if $contents.source != 3}>
            <div style="color: #FF0000;font-weight: 800;">体检当天请务必带好您预约时所留下来的身份确认证件</div>
            <{/if}>
			<div class="part">
				<h4><strong>支付信息</strong></h4>
				<dl class="form">
					<dd><label>支付方式：</label><{$contents.paychannel}></dd>
					<dd><label>支付金额：</label>￥<{$contents.order_action_price*$contents.goods_num}></dd>
                    <{if $contents.source == 3}>
                        <dd><label>收件人：</label><{$contents.customer_name}></dd>
                        <dd><label>收件地址：</label><{$contents.customer_address}></dd>
                        <dd><label>手机号：</label><{$contents.customer_tel}></dd>
                        <{if $contents.if_invoice == 1}>
                            <{if $contents.invoice_header}><dd><label>发票抬头：</label><{$contents.invoice_header}></dd><{/if}>
                           <{if $contents.invoice_header}> <dd><label>发票内容：</label><{$contents.invoice_content}></dd><{/if}>
                        <{/if}>
                    <{else}>
                        <{if $contents.if_invoice == 1}>
                            <{if $contents.invoice_header}>
                                <dd><label>发票抬头：</label><{$contents.invoice_header}></dd>
                            <{/if}>
                            <{if $contents.invoice_header}>
                                <dd><label>发票内容：</label><{$contents.invoice_content}></dd>
                            <{/if}>
                        <{/if}>
                    <{/if}>
				</dl>
			</div>
			<div class="part">
				<h4><strong>订单信息</strong></h4>
				<table class="com_table mt10">
					<thead>
						<tr>
							<th>套餐项目 </th>
							<th>单价</th>
							<th>数量</th>
							<th>总金额</th>
							<th>支付方式</th>
							<th>操作</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td><{$pname}>
							<{if $jx_list|@count neq 0}>
							<br />[加项]：
							<{foreach from=$jx_list key=key item=item name=store}>
									 <{$item}>
						               <{/foreach}>
						   <{/if}>
							</td>
							<td>￥<{$contents.order_action_price}></td>
							<td><{$contents.goods_num}></td>
							<td>￥<{$contents.order_price*$contents.goods_num}></td>
							<td><{$contents.paychannel}></td>
							<td>
                                <{if $contents.source == 3}>
                                    <a href="<{$__URL__}>kouqiang" target="_blank">查看套餐详情</a>
                                <{else}>
                                    <{if $ifdetail == 1 && $pCode}><a href="<{$__URL__}>appendinfo&id=<{$appendinfo.append_id}>">查看预约详情</a><{else}>--<{/if}>
                                <{/if}>

                             </td>
						</tr>
					</tbody>
				</table>
			</div>

            <{*if isset($userinfo.user_gh) && $userinfo.user_enterprise_code=='MSD' && in_array($userinfo.user_gh, array('ET21014') )  *}>
            <{if isset($userinfo.user_gh) && $userinfo.user_enterprise_code=='MSD'}>
            <{if $contents.source == 3 && $contents.status == '7' && $emsInfo}>
            <div class="part">
				<h4><strong>发货单信息</strong></h4>
				<dl class="form">
					<dd><label>物流公司：</label><{$emsConfigInfo[$emsInfo.ems_name]}></dd>
					<dd><label>快递单号：</label><{$emsInfo.ems_code}></dd>
                    <dd><label>发货时间：</label><{$emsInfo.create_time|date_format:"%Y-%m-%d %H:%M:%S"}></dd>
                    <dd><label>物流跟踪：</label><a href="<{$emsLinkConfigInfo[$emsInfo.ems_name]}>" target="_blank">查看物流</a></dd>
				</dl>
			</div>
            <{/if}>
            <{/if}>
		</div>
	</div>

</div>

<{include file="../templates/$newtpl/foot.html"}>

<!--脚本如下-->
<script src="templates/js/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="templates/js/jquery.switchable2.min.js" type="text/javascript"></script>
<script src="templates/js/global.js" type="text/javascript"></script>

<script type="text/javascript">

	$('#slideBox .log_box').switchable({
		triggers: $('#slideBox .tab li a'),
		panels: '.tab_con',
		triggerType: 'click'
	});


</script>

</body>
</html>